package com.content.Mapper.artist;

import com.content.Entity.artist.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CategoryMapper {

    List<Category> getCategoryList(@Param("categoriesName") String categoriesName);

    void addCategory(Category category);

    void updateCategory(Category category);

    void deleteCategory(String categoriesId);

    Category getCategoryById(String categoryId);
}
